package com.shark.lib.rebirth;

/* package */class NativeRebirth {

    static {
        try {
            System.loadLibrary("rebirth");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public native void doDaemon(String indicatorSelfPath, String indicatorDaemonPath, String observerSelfPath, String observerDaemonPath, String packageName, String className, int sdkVersion);


    public void onDaemonDead() {
        RebirthEnv.triggerDaemonDead();
    }
}
